define([], function() {

var asserts = {};

asserts.assert = function(condition, opt_errorMessage) {
  if (!condition) {
    throw opt_errorMessage || 'Assertion failure, no error message';
  }
};

return asserts;

});
